<?php 
header('Content-Type:text/html;charset=gbk');
require_once("db_manage.php");

$module = $_GET['module'];
$id = $_GET['id'];

if($module=='travel'){
	delTravelById($id);
	echo "<script>location.href='manage_list_travel.php';</script>";
}else if($module=='food'){
	delFoodById($id);
	echo "<script>location.href='manage_list_food.php';</script>";
}
?>